package com.zz.webapp.dao;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/1/28.
 */
public interface BaseDao<T> {
    int create(T t);
    int creates(List<T> list);
    int delete(Long id);
    int update(T t);
    T load(long id);
    List<T> list(Map<String, Object> map);
    List<T> paging(Map<String, Object> map);
    Long count(Map<String, Object> map);
}
